package com.cino.users.service;

import com.cino.basic.base.dto.PhoneCodeDto;
import com.cino.users.domain.User;
import com.cino.basic.base.service.BaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Cino
 * @since 2023-02-07
 */
public interface UserService extends BaseService<User> {

    void phoneRegister(Map<String, String> map);

    void emailRegister(Map<String, String> map) throws MessagingException;

    void updateState(Long id);
}
